package com.mgblog.service.imp;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.mgblog.dao.inter.ItemDaoInter;
import com.mgblog.service.inter.ItemServiceInter;
import com.mgblog.vo.Item;

/**
 * item业务的实现类
 * @author Administrator
 *
 */
@Transactional
@Service("itemService")
public class ItemServiceImp implements ItemServiceInter{
	@Resource
	private ItemDaoInter itemDao;
	
	public boolean addItem(Item item){
		return itemDao.addItem(item);
	}
}
